Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Digital Anarchist
Minmatar
|
Posted - 2007.12.18 15:23:00 -
[1]
Edited by: Digital Anarchist on 18/12/2007 15:31:08 Firefox and IE can open raw xml files and it's easy to use a stylesheet to sort all the information you need. But I have no clue how to go further.
I presume getting the xml file involves using a hyperlink of the form:
http://api.eve-online.com/char/WalletJournal.xml.aspx?userID=xxxxx&apiKey=yyyyyyyyyyyyyyyyyy
where xxxxx and yyyyyy are the full access tokens generated by the api key page
Upon submitting the above information from my api page, I get the following output:
<eveapi version="2"> <currentTime>2007-12-18 15:23:51</currentTime> <error code="105">Invalid characterID.</error> <cachedUntil>2007-12-18 15:28:51</cachedUntil> </eveapi>
Trying to use the limited access api informations yields the following:
<eveapi version="2"> <currentTime>2007-12-18 15:26:22</currentTime> <error code="200">Current security level not high enough.</error> <cachedUntil>2007-12-18 15:31:22</cachedUntil> </eveapi>
However, if I use the limited access api to retrieve account balance (/char/AccountBalance.xml.aspx) or character sheet (/char/CharacterSheet.xml.aspx), it works.
What am I doing wrong?
------------------------ This space for rent |

Digital Anarchist
Minmatar
|
Posted - 2007.12.18 16:05:00 -
[2]
I tried to retreive the information with a POST request instead of GET (deprecated?).
api.html below vvvvvvv
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>API test</title> </head> <body>
<form action="http://api.eve-online.com/char/WalletJournal.xml.aspx" method="POST"> <input type="text" name="userID" value="userID here" /> <br /> <input type="text" name="apiKey" value="apiKey here" /> <br /> <input type="submit" value="Get API infomation" /> </form>
</body> </html>
the output is the following:
<eveapi version="2"> <currentTime>2007-12-18 16:02:14</currentTime> <error code="105">Invalid characterID.</error> <cachedUntil>2007-12-18 16:07:14</cachedUntil> </eveapi>
I double-checked, I submitted the information in the full access API. Help please 
------------------------ This space for rent |

Digital Anarchist
Minmatar
|
Posted - 2007.12.18 16:57:00 -
[3]
Edited by: Digital Anarchist on 18/12/2007 16:57:07 Thanks a lot, works now!
Unfortunately, it only retrieves one week's of data or a limited number of journal entries.
More precisely, what I would want to accomplish is a tool to check for corp spies. Before admittance, a new recruit submits the full api key data and the employer can check wallet donations from individual players.
I don't suppose the API data output can be that specific.
------------------------ This space for rent |
|
|